package cn.ante.ymcc.service;

import cn.ante.ymcc.domain.Course;
import cn.ante.ymcc.dto.CourseAddDto;
import cn.ante.ymcc.result.JSONResult;
import cn.ante.ymcc.vo.Course2OrderInfoVo;
import cn.ante.ymcc.vo.CourseDetailVo;
import com.baomidou.mybatisplus.service.IService;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Nai
 * @since 2022-08-08
 */
public interface ICourseService extends IService<Course> {

    JSONResult save(CourseAddDto courseAddDto);

    JSONResult onLineCourse(Long courseId);

    JSONResult offLineCourse(Long courseId);

    CourseDetailVo getCourseDetail(Long courseId);

    Course2OrderInfoVo courseOrderInfo(String courseIds);
}
